package com.translate.web.param;

import javax.validation.constraints.Min;

import com.param.impl.PageParam;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IDateRangeParam;

public class DateRangeParam extends PageParam implements IDateRangeParam{

	private long userId;
	
	/**
	 * 开始时间
	 */
	@Min(value = ValidateCondtionAndMessage.MIN_CREATE_TIME, message=ValidateCondtionAndMessage.CREATE_TIME_BY_MSG)
	private Long startTime;
	
	/**
     * 结束时间
     */
	@Min(value = ValidateCondtionAndMessage.MIN_CREATE_TIME, message=ValidateCondtionAndMessage.CREATE_TIME_BY_MSG)
	private Long endTime;

	public Long getStartTime() {
		return startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}


	
	
	
}
